import request from '@/utils/request.js'

// 分类数据
export function getCategoryApi(data) {
	return request.get('/?service=App.Category.CategoryListApi',data,{isLoading: true})
}
// 获取二级分类同级下的所有分类
export function getCategoryListApi(data) {
	return request.get('/?service=App.Category.CategorylistNavListApi',data,{isLoading: true})
}
// 当前分类下的商品
export function getCategoryGoodsListApi(data) {
	return request.post('/?service=App.Category.CategorylistGoodsListApi',data,{isAuth: true,isLoading: true,isForm: true})
}